package com.bootdo.storageRack.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.storageRack.dao.StorageRackBuildDao;
import com.bootdo.storageRack.domain.StorageRackBuildDO;
import com.bootdo.storageRack.service.StorageRackBuildService;
import org.springframework.transaction.annotation.Transactional;



@Service
@Transactional
public class StorageRackBuildServiceImpl implements StorageRackBuildService {
	@Autowired
	private StorageRackBuildDao storageRackBuildDao;
	
	@Override
	public StorageRackBuildDO get(Long id){
		return storageRackBuildDao.get(id);
	}
	
	@Override
	public List<StorageRackBuildDO> list(Map<String, Object> map){
		return storageRackBuildDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return storageRackBuildDao.count(map);
	}
	
	@Override
	public int save(StorageRackBuildDO storageRackBuild){
		return storageRackBuildDao.save(storageRackBuild);
	}
	
	@Override
	public int update(StorageRackBuildDO storageRackBuild){
		return storageRackBuildDao.update(storageRackBuild);
	}
	
	@Override
	public int remove(Long id){
		return storageRackBuildDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return storageRackBuildDao.batchRemove(ids);
	}
	
}
